import request from '@/utils/http'

/**
 * 登录日志列表
 * @param {*} params
 * @returns
 */
const getLogListApi = (params) => {
  return request({
    method: 'get',
    url: 'api/log/list',
    params,
  })
}

/**
 * 根据id删除
 * @param {*} params
 * @returns
 */
const deleteApi = (params) => {
  return request({
    method: 'delete',
    url: 'api/log',
    params,
  })
}

export { getLogListApi, deleteApi }
